package com.microservice.base.mapper.hikcommon;

import com.microservice.base.entity.Face;
import com.microservice.base.mapper.BaseMP;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author jbx
 * @package_name com.microservice.base.mapper
 * @create_date 2020/12/8 17:09
 */
public interface FaceMP extends BaseMP<Face> {
  @Override
  void save(Face face);

  @Override
  void delete(String id);

  @Override
  int update(Face face);

  @Override
  Face get(String id);

  @Override
  List<Face> queryAll();

  List<Face> queryUpdate(int operation);

  List<Face> queryDelete(int operation);

  int updateOperation(@Param("operation") int operation, @Param("id")String id);

  void replaceFaceid(List<Face> face);
}
